home *** CD-ROM | disk | FTP | other *** search
- Path: usenet.eel.ufl.edu!warwick!not-for-mail
- From: esuvx@csv.warwick.ac.uk (Adge)
- Newsgroups: comp.os.ms-windows.programmer.graphics,comp.lang.c++
- Subject: Drawing from any procedure
- Date: 22 Mar 1996 17:21:05 -0000
- Organization: University of Warwick, Coventry, UK
- Message-ID: <4iuni1$oep@lily.csv.warwick.ac.uk>
-
-
- I am programming in ms Visual C++ v.4.0 under Win95, and am trying to
- persuade it to allow me to draw graphics to a window from a procedure other
- than OnPaint or OnDraw.
-
- I have tried using CPaintDC(this); , but this gives an access violation.
-
- It used to be possible under Borland Pascal for win but I can't work out
- how to do it under visc++
-
- Can anyone help ?
-
- Regards
-
- Adge
-
- ----------------------------------------------------------------------------
- Adrian Davis, 4th Year Engineering Electronics Beng (hons) Meng.
- A.P.M.Davis@warwick.ac.uk
- ----------------------------------------------------------------------------
- Back by popular request :
- When God designed the human body, why did he put the ignition so near the
- exhaust ?
- ----------------------------------------------------------------------------
- Warwick Uni Fencing Club (suaao) WWW - http:/www.csv.warwick.ac.uk/~suaao/
- ----------------------------------------------------------------------------
-